let sum:(x:number,y:number) => number
const result = sum(1,2)
type PlustType = (x:number,y:number) => number

let sum2 : PlustType
const results = sum2(2,3)

type StrOrNumber = string | number
let resulst3 : StrOrNumber = '123'
resulst3 = 123

const str11:'name' = 'name'

const number:1 = 1

type Direction111 = 'Up' | 'Down' | 'Left' | 'Right'

let toWhere :Direction111 = 'Left'


interface IName {
  name:string
}
type IPerson = IName & {age : number}
let person : IPerson = { name :'123',age:123}
